package Pattern;

import java.util.regex.Pattern;

public abstract class PatternTest {
    /**
     * 正则表达式注册父类
     */
    private String arr;  //封装用户输入。

    abstract public void register(); //注册抽象方法

    public String getArr() {
        return arr;
    }

    public void setArr(String arr) {
        this.arr = arr;
    }

    public static void main(String[] args) {
        //测试
        Account account = new Account();
        Cipher cipher = new Cipher();
        Email email = new Email();

        account.register();  //账户
        cipher.register();   //密码
        email.register();    //邮箱


    }
}
